package com.netposa.datawarehouse.aggregator.client;

import com.netposa.appwebres.common.WebResInfo;

public interface WifiServiceClient {
   WebResInfo countWifi(String var1);

   public static class WifiCondition {
      private String deviceId;
      private Long firstCaptureTime;
      private Long lastCaptureTime;

      public String getDeviceId() {
         return this.deviceId;
      }

      public Long getFirstCaptureTime() {
         return this.firstCaptureTime;
      }

      public Long getLastCaptureTime() {
         return this.lastCaptureTime;
      }

      public void setDeviceId(String deviceId) {
         this.deviceId = deviceId;
      }

      public void setFirstCaptureTime(Long firstCaptureTime) {
         this.firstCaptureTime = firstCaptureTime;
      }

      public void setLastCaptureTime(Long lastCaptureTime) {
         this.lastCaptureTime = lastCaptureTime;
      }

      public boolean equals(Object o) {
         if (o == this) {
            return true;
         } else if (!(o instanceof WifiCondition)) {
            return false;
         } else {
            WifiCondition other = (WifiCondition)o;
            if (!other.canEqual(this)) {
               return false;
            } else {
               label47: {
                  Object this$deviceId = this.getDeviceId();
                  Object other$deviceId = other.getDeviceId();
                  if (this$deviceId == null) {
                     if (other$deviceId == null) {
                        break label47;
                     }
                  } else if (this$deviceId.equals(other$deviceId)) {
                     break label47;
                  }

                  return false;
               }

               Object this$firstCaptureTime = this.getFirstCaptureTime();
               Object other$firstCaptureTime = other.getFirstCaptureTime();
               if (this$firstCaptureTime == null) {
                  if (other$firstCaptureTime != null) {
                     return false;
                  }
               } else if (!this$firstCaptureTime.equals(other$firstCaptureTime)) {
                  return false;
               }

               Object this$lastCaptureTime = this.getLastCaptureTime();
               Object other$lastCaptureTime = other.getLastCaptureTime();
               if (this$lastCaptureTime == null) {
                  if (other$lastCaptureTime != null) {
                     return false;
                  }
               } else if (!this$lastCaptureTime.equals(other$lastCaptureTime)) {
                  return false;
               }

               return true;
            }
         }
      }

      protected boolean canEqual(Object other) {
         return other instanceof WifiCondition;
      }

      public int hashCode() {
         
         int result = 1;
         Object $deviceId = this.getDeviceId();
         result = result * 59 + ($deviceId == null ? 43 : $deviceId.hashCode());
         Object $firstCaptureTime = this.getFirstCaptureTime();
         result = result * 59 + ($firstCaptureTime == null ? 43 : $firstCaptureTime.hashCode());
         Object $lastCaptureTime = this.getLastCaptureTime();
         result = result * 59 + ($lastCaptureTime == null ? 43 : $lastCaptureTime.hashCode());
         return result;
      }

      public String toString() {
         return "WifiServiceClient.WifiCondition(deviceId=" + this.getDeviceId() + ", firstCaptureTime=" + this.getFirstCaptureTime() + ", lastCaptureTime=" + this.getLastCaptureTime() + ")";
      }
   }
}
